<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8" />
<head th:include="include::header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5></h5>
					</div>
					<div class="ibox-content">
						<form class="form-horizontal m-t " id="signupForm">

							<div class="form-group">
								<label class="col-sm-3 control-label">产品编码</label>
								<!-- <label class="col-sm-1 control-label">GD</label> -->

								<div class="col-sm-3">
									<input id="prodCode" name="prodCode" class="form-control"
										type="text" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">产品名称</label>
								<div class="col-sm-3">
									<input id="prodName" name="prodName" class="form-control"
										type="text" />
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">产品类型</label>
								<div class="col-sm-3">
									<label class="radio-inline"> <input type="radio"
										name="prodClass" value="2" checked="checked" onclick="showFixTerm()" /> 定期
									</label> <label class="radio-inline"> <input type="radio"
										name="prodClass" value="1" onclick="showFreeTerm()"/> 活期
									</label>
								</div>
							</div>

							<div class="form-group" id="termDiv">
								<label class="col-sm-3 control-label">产品期限</label>
								<div class="col-sm-3">
									<input id="prodTerm" name="prodTerm"
										class="form-control" type="text" />
								</div>
								<label class="col-sm-1 control-label">月</label>
							</div>


							<div class="form-group">
								<label class="col-sm-3 control-label">利率</label>
								<div class="col-sm-3">
									<input id="prodRate" name="prodRate"
										class="form-control" type="text" />
								</div>
								<label class="col-sm-1 control-label">%</label>
							</div>
							<div id="fixTermDiv">
								<div class="form-group">
									<label class="col-sm-3 control-label">定转活</label>
									<div class="col-sm-3">
										<input id="prodAlterRate" name="prodAlterRate"
											class="form-control" type="text" />
									</div>
									<label class="col-sm-1 control-label">%</label>


								</div>


								<div class="form-group">
									<label class="col-sm-3 control-label">募集上限（元）</label>
									<div class="col-sm-3">
										<input id="prodRaiseLimit" name="prodRaiseLimit"
											class="form-control" type="text" />
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label">起购金额（元）</label>
									<div class="col-sm-3">
										<input id="prodBuyMinmonye" name="prodBuyMinmonye"
											class="form-control" type="text" placeholder="1" />
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label">用户端显示次序</label>
									<div class="col-sm-3">
										<input id="showPriority" name="showPriority"
											class="form-control" type="text" />
									</div>
								</div>
							</div>

							<div id="freeTermDiv">

								<div class="form-group">
									<label class="col-sm-3 control-label">计息周期</label>
									<div class="col-sm-3">
										<label class="radio-inline"> <input type="radio"
											name="demandCycType" value="2" /> 季
										</label> <label class="radio-inline"> <input type="radio"
											name="demandCycType" value="1" checked="checked"/> 月
										</label>
									</div>
								</div>
								
								<div class="form-group">
									<label class="col-sm-3 control-label">计息日</label>
									<div class="col-sm-3">
										<input id="closedPeriodStart" name="demandCycDay"
											class="form-control" type="text" />
									</div>
									<label class="col-sm-1 control-label">天</label>
								</div>

							</div>


							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="button" class="btn btn-primary" onclick="addFinancialProd()">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::common"></div>
	<div th:include="include::footer"></div>
	<script>
		layui.use('laydate', function() {
			var laydate = layui.laydate;
		});

	</script>

	<script type="text/javascript"
		th:src="@{/js/appjs/trade/production/addAllinpayProd.js}">
		
	</script>
</body>

</html>
